﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

using CSF.MultiLang.Data;
using CSF.MultiLang.Service;

namespace CSF.Service.Accounts.Client
{
    public class LangDefSvcClient : ClientBase<ILangDefSvc>, ILangDefSvc
    {
        public List<LangDef> GetAll()
        {
            return base.Channel.GetAll();
        }

        public LangDef GetOneById(int id)
        {
            return base.Channel.GetOneById(id);
        }

        public bool UpdateById(LangDef t, int id)
        {
            return base.Channel.UpdateById(t, id);
        }

        public bool DeleteOneById(int id)
        {
            return base.Channel.DeleteOneById(id);
        }

        public int DeleteById(IEnumerable<int> ids)
        {
            return base.Channel.DeleteById(ids);
        }

        public int Insert(LangDef entity)
        {
            return base.Channel.Insert(entity);
        }
    }
}
